package cqrtplm.mapper;

import cqrtplm.entity.OrderChangeHeader;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

@Mapper
public interface OrderChangeHeaderMapper {
    void insert(OrderChangeHeader header);
    void update(OrderChangeHeader header);
    OrderChangeHeader selectByOid(String oid);
    @Delete("DELETE FROM RT_CERT_ORDER_CHANGE_HEADER WHERE OID = #{oid}")
    int deleteByOid(@Param("oid") String oid);
}